package com.fxd.test;

import com.fxd.service.accountService;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @auther fuxudong
 * @date 2021/2/7 - 13:40
 */
public class testspring {

    @Test
    public void run(){
        ClassPathXmlApplicationContext ca = new ClassPathXmlApplicationContext("application.xml");
        accountService accountServiceImpl = ca.getBean("accountServiceImpl", accountService.class);
        accountServiceImpl.findAll();



    }
}
